using Common.Enum;

namespace SProject.Paramter
{
	public class OptionFactory
	{
		public static BasicOption CreateBasicOption(EProjectType type)
		{
			BasicOption basicOption = null;
			switch (type)
			{
			case EProjectType.Melt:
			case EProjectType.IA:
				return new MeltingOption();
			case EProjectType.HRM:
				return new HRMOption();
			case EProjectType.AD:
				return new ADOption();
			case EProjectType.RQ:
				return new RQOption();
			default:
				return new BasicOption();
			}
		}
	}
}
